<?php

	/*
	|--------------------------------------------------------------------------
	| Application Routes
	|--------------------------------------------------------------------------
	|
	| Here is where you can register all of the routes for an application.
	| It's a breeze. Simply tell Laravel the URIs it should respond to
	| and give it the controller to call when that URI is requested.
	|
	*/

	Route::get('/', function () {
	    return view('welcome');
	});



	// Route::get('/test1',function(){
	// 	return 'test1';
	// });
	// Route::get('/test', function () {
	//     // echo Config::get('app.locale');
	//     echo '<pre>';
	//     var_dump(Config::get('app.providers'));
	// });
	// Route::get('/env',function(){
	// 	echo env('DB_PASSWORD');
	// });

	// //页面跳转操作
	// Route::get('/test/test/{id}',['as'=>'ceshi',function($id){
	// 	// echo route('ceshi',['id=>44']);
	// 	echo $id;

	// }]);
	// Route::get('/tiaozhuan',function(){
	// 		return redirect()->route('ceshi',['id'=>33]);
	// 		// return Route::currentRouteName();
	// })

	//路由组 
	Route::get('404',function(){
		return view('404');
	});

?>